home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / getnextpg.z / getnextpg
Encoding:
Text File  |  1998-10-30  |  3.3 KB  |  66 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttnnnneeeexxxxttttppppgggg((((DDDD3333XXXX))))                                                  ggggeeeettttnnnneeeexxxxttttppppgggg((((DDDD3333XXXX))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _gggg_eeee_tttt_nnnn_eeee_xxxx_tttt_pppp_gggg - get next page pointer
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_pppp_ffff_dddd_aaaa_tttt_...._hhhh_>>>>
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  15.      _ssss_tttt_rrrr_uuuu_cccc_tttt _pppp_ffff_dddd_aaaa_tttt _****_gggg_eeee_tttt_nnnn_eeee_xxxx_tttt_pppp_gggg_((((_bbbb_uuuu_ffff______tttt _((((_****_b_p_))))_((((_))))_,,,, _ssss_tttt_rrrr_uuuu_cccc_tttt _pppp_ffff_dddd_aaaa_tttt _****_p_p_))))_;;;;
  16.  
  17.    AAAArrrrgggguuuummmmeeeennnnttttssss
  18.      _b_p        Pointer to the buffer header structure
  19.      _p_p        Pointer to the previous pfdat structure returned.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      _gggg_eeee_tttt_nnnn_eeee_xxxx_tttt_pppp_gggg will return a pointer to the next page (pfdat) in a buffer
  23.      header's page list (see buf(D4)) during a paged-I/O request.  A paged-I/O
  24.      request is identified by the _BBBB______PPPP_AAAA_GGGG_EEEE_IIII_OOOO flag being set and the _BBBB______MMMM_AAAA_PPPP_PPPP_EEEE_DDDD
  25.      flag being clear in the _bbbb______ffff_llll_aaaa_gggg_ssss field of the buffer header passed to a
  26.      driver's _ssss_tttt_rrrr_aaaa_tttt_eeee_gggg_yyyy(D2) routine.
  27.  
  28.      Given a buffer header, _bbbb_pppp, and a pointer to the page, _pppp_pppp, returned from
  29.      the previous call to _gggg_eeee_tttt_nnnn_eeee_xxxx_tttt_pppp_gggg, the next page is returned.  If _pppp_pppp is
  30.      NULL, the first page in the page list is returned.
  31.  
  32.    LLLLeeeevvvveeeellll
  33.      Base or Interrupt.
  34.  
  35.    NNNNooootttteeeessss
  36.      Does not sleep.
  37.  
  38.    SSSSeeeeeeee AAAAllllssssoooo
  39.      _ssss_tttt_rrrr_aaaa_tttt_eeee_gggg_yyyy(D2), _bbbb_pppp______mmmm_aaaa_pppp_iiii_nnnn(D3), _bbbb_pppp______mmmm_aaaa_pppp_oooo_uuuu_tttt(D3), _pppp_pppp_tttt_oooo_pppp_hhhh_yyyy_ssss(D3X), _bbbb_uuuu_ffff(D4)
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.